package com.teach.entity;

import java.sql.Date;

public class user {
	 private int id;
     private String name;
     private String sex;
     private String password;
     private Date create_time;
     private Date birthday;
     private String nickname;
     private String account_number;
     private String phone;
     private String user_address;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getAccount_number() {
		return account_number;
	}
	public void setAccount_number(String account_number) {
		this.account_number = account_number;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getUser_address() {
		return user_address;
	}
	public void setUser_address(String user_address) {
		this.user_address = user_address;
	}
	@Override
	public String toString() {
		return "user [id=" + id + ", name=" + name + ", sex=" + sex + ", password=" + password + ", create_time="
				+ create_time + ", birthday=" + birthday + ", nickname=" + nickname + ", account_number="
				+ account_number + ", phone=" + phone + ", user_address=" + user_address + "]";
	}
	public user() {
		super();
	}
	public user(int id, String name, String sex, String password, Date create_time, Date birthday, String nickname,
			String account_number, String phone, String user_address) {
		super();
		this.id = id;
		this.name = name;
		this.sex = sex;
		this.password = password;
		this.create_time = create_time;
		this.birthday = birthday;
		this.nickname = nickname;
		this.account_number = account_number;
		this.phone = phone;
		this.user_address = user_address;
	}
     
     
}
